package com.xxx.corejava.day1014;

public class Test {

    public static void main(String[] args) {
        //变量声明
        int i;

        //错，变量必须先初始化，后使用
//        System.out.println("i = " + i);

        i=19;

        System.out.println("i = " + i);

        i=65;

        System.out.println("i = " + i);

//        int i=67;

        {
            //变量的声明并初始化
            int j=5;

            System.out.println("j = " + j);
            System.out.println("i = " + i);


        }


    }


}
